package manager;

import bean.ConnectionMessage;
import bean.CreateCombinaisonMessage;
import bean.CreateUserMessage;
import bean.DeconnectionMessage;
import bean.DeleteUserMessage;
import bean.LoadCombinaisonListMessage;
import bean.LoadUserListMessage;
import bean.PlayMessage;
import bean.StartGameMessage;
import bean.UpdateUserMessage;
import bean.UserBean;

public class ObjectFactory {

	
	public UserBean createUser() {
		UserBean u = new UserBean();
		return u;
	}
	
	public ConnectionMessage createConnectionMessage(){
		ConnectionMessage m = new ConnectionMessage();
		return m;
		}
	public CreateUserMessage createCreateUserMessage(){
		CreateUserMessage cum = new CreateUserMessage();
		return cum;
	}
	public ComManager createComManager(){
		ComManager com = new ComManager();
		return com;
	}
	public UpdateUserMessage createUpdateUserMessage(){
		UpdateUserMessage uum = new UpdateUserMessage();
		return uum;
	}
	
	public LoadUserListMessage createLoadUserListMessage(){
		LoadUserListMessage lulm = new LoadUserListMessage();
		return lulm;
	}
	public DeleteUserMessage createDeleteUserMessage(){
		DeleteUserMessage dum = new DeleteUserMessage();
		return dum;
	}
	public LoadCombinaisonListMessage createLoadCombinaisonListMessage(){
		LoadCombinaisonListMessage lclm = new LoadCombinaisonListMessage();
		return lclm;
	}
	public StartGameMessage createStartGameMessage(){
		StartGameMessage sgm = new StartGameMessage();
		return sgm;
	}
	public PlayMessage createPlayMessage(){
		PlayMessage pm = new PlayMessage();
		return pm;
	}
	public CreateCombinaisonMessage createCreateCombinaisonMessage(){
		CreateCombinaisonMessage ccm = new CreateCombinaisonMessage();
		return ccm;
	}
	public DeconnectionMessage createDeconnectionMessage(){
		DeconnectionMessage dm = new DeconnectionMessage();
		return dm;
	}
}
